package com.engine4cloud.tdf.education;

import com.engine4cloud.tdf.common.core.config.UniqueNameGenerator;
import com.engine4cloud.tdf.common.feign.annotation.EnableTdfFeignClients;
import com.engine4cloud.tdf.common.security.annotation.EnableTdfResourceServer;
import com.engine4cloud.tdf.common.swagger.annotation.EnableOpenApi;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

@EnableOpenApi("education")
@EnableTdfFeignClients
@EnableDiscoveryClient
@EnableTdfResourceServer
@SpringBootApplication
@ComponentScan(nameGenerator = UniqueNameGenerator.class)
public class EducationApplication {

    public static void main(String[] args) {
        SpringApplication.run(EducationApplication.class, args);
    }

}
